//
//  NRWCarTurnTime.h
//  New_Runway
//
//  Created by mack on 2018/1/24.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NRWCarTurnTime : NSObject
+(NSInteger)getNowTimestamp;
+(NSInteger)timeSwitchTimestamp:(NSString *)formatTime andFormatter:(NSString *)format;
+(NSString *)timestampSwitchTime:(NSInteger)timestamp andFormatter:(NSString *)format;
//比较日期
+(int)compareOneDay:(NSDate *)oneDay withAnotherDay:(NSString *)anotherDay;
+ (NSString *)formateDate:(NSString *)dateString withFormate:(NSString *) formate;
+ (NSString *)formateFirstDate:(NSString *)firstDate withFormate:(NSString *)formate;
+(NSString *)returnDate:(NSString *)date withFormate:(NSString *)formate withYearNum:(NSString *)yearnum withType:(BOOL)type;

//add by xy
+ (NSString *)formatDateToString:(NSInteger)date withFormat:(NSString *)format;

@end
